package com.wry.wallet.service;

import com.wry.wallet.vo.AccountFlowVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * <h1>  </h1>
 *
 * @author wry
 * @since 2023.03.31
 */
public interface WalletService {
    BigDecimal queryBalance(String accountNumber);

    void consume(String accountNumber, BigDecimal amount);

    void refund(String accountNumber, BigDecimal amount);

    List<AccountFlowVO> flow(String accountNumber);
}
